package com.lx.dao;

import com.lx.model.PrintOrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PrintOrderInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PrintOrderInfo record);

    int insertSelective(PrintOrderInfo record);

    PrintOrderInfo selectByPrimaryKey(Long id);
    PrintOrderInfo selectByOrderSn(@Param("shopId") Long shopId, @Param("orderSn")String orderSn);

    int updateByPrimaryKeySelective(PrintOrderInfo record);

    int updateByPrimaryKey(PrintOrderInfo record);
}